<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<body>
<div id="graph_dataSource_layout" class="easyui-layout" data-options="fit:true">
    <div data-options="region:'center'" border="false">
        <table id="graph_dataSource_datagrid">
        </table>
        <div id="graph_dataSource_tb" style="padding:5px;height:auto">
            <div style="margin-bottom:5px">
                <a href="#" id="graph_dataSource_add" class="easyui-linkbutton" iconCls="icon-add" plain="true"></a>
                <a href="#" id="graph_dataSource_edit" class="easyui-linkbutton" iconCls="icon-edit" plain="true"></a>
                <a href="#" id="graph_dataSource_remove" class="easyui-linkbutton" iconCls="icon-remove"
                   plain="true"></a>
                名称: <input class="easyui-textbox" id="graph_dataSource_queryKey" style="width:200px"/>
                <a href="#" class="easyui-linkbutton" iconCls="icon-search" id="graph_dataSource_queryBtn">查询</a>
            </div>
        </div>
    </div>

    <div id="dataSource_graphDialog" style="padding: 2px">
        <div class="easyui-layout" data-options="fit:true">
            <div class="easyui-panel" data-options="region:'north',height:'300px'" border="false">
                <form id="dataSource_graph_form" method="post" style="padding: 10px">
                    <input name="id" hidden="true"/>

                    <div class="win_line" style="text-align: left">
                        <label>数据名称：</label>
                        <input name="dsName" id="dsName" class="easyui-textbox"
                               data-options="validType:'length[1,225]',required:true">
                        <label>数据类型：</label>
                        <input name="dsType" id="dsType" class="easyui-combobox"
                               data-options="required:true">

                        <div class="win_line" style="text-align: left">
                            <label>取值方法：</label>
                            <input name="valMethod" id=valMethod" class="easyui-textbox"
                                   data-options="validType:'length[1,64]'">
                            <%--<label>输入参数：</label>--%>
                            <%--<input name="params" id=params" class="easyui-textbox"--%>
                                   <%--data-options="validType:'length[1,64]'">--%>
                        </div>
                        <div class="win_line" style="text-align: left">
                            <label>url/sql ：</label>
                            <input name="valStr" id=valStr" class="easyui-textbox" style="width:390px;height:200px"
                                   data-options="validType:'length[1,4000]',required:true,multiline:true">
                        </div>
                    </div>
                </form>
            </div>
            <div class="easyui-panel" data-options="region:'center',height:'300px'" border="false">
                <div>
                    <div id="dataSource_item_tb">
                        <a href="#" id="dataSource_item_add_btn" class="easyui-linkbutton" iconCls="icon-add" plain="true"></a>
                        <a href="#" id="dataSource_item_edit_btn" class="easyui-linkbutton" iconCls="icon-edit" plain="true"></a>
                        <a href="#" id="dataSource_item_remove_btn" class="easyui-linkbutton" iconCls="icon-remove" plain="true"></a>
                        <a href="#" id="dataSource_connect_btn" class="easyui-linkbutton" iconCls="icon-filter" plain="true">测试连接</a>
                    </div>
                </div>
                <table id="dataSource_item_datagrid">
                </table>
            </div>
        </div>
    </div>


</div>

</body>
</html>

